
EARTHWORM_LIB = $(top_srcdir)/library/utilities/libearthworm.la
EARTHWORM_MT_LIB = $(top_srcdir)/library/utilities/libearthworm_mt.la
EARTHWORM_UNIX_LIB = $(top_srcdir)/library/unix/libearthworm_unix.la
EARTHWORM_QLIB2_LIB = $(top_srcdir)/library/qlib2/libearthworm_qlib2.la
EARTHWORM_COMSERV_LIB = $(top_srcdir)/library/comserv/libearthworm_comserv.la

bin_PROGRAMS = adsend_comedi

adsend_comedi_SOURCES = adsend_comedi.c \
	daq_functions.c \
	getconfig.c

adsend_comedi_LDADD = $(EARTHWORM_MT_LIB) \
	$(EARTHWORM_UNIX_LIB) \
	$(EARTHWORM_QLIB2_LIB) \
	$(EARTHWORM_COMSERV_LIB) \
	-lcomedi -lpthread
#$(PTHREAD_LIBS) $(PTHREAD_CFLAGS)

noinst_HEADERS = adsend_comedi.h \
	daq_functions.h \
	getconfig.h 

AM_CPPFLAGS = $(GLOBAL_CFLAGS) \
 -I$(top_srcdir)/include \
 -I$(top_srcdir)/include/qlib2 \
 -I$(top_srcdir)/include/comserv